<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
 
  <link rel="stylesheet" href="css/login/login.css" type="text/css"></link></head>
  
  <body>
   <form id="login" action="User/getlogin" method="get">
    <h2>客户资源管理系统</h2>
    <c:if test="${!empty error}">
	        <font color="red"><c:out value="${error}" /></font>
	</c:if> 
    <fieldset id="inputs">
        <input id="username" name="usrBh" type="text" placeholder="用户名" autofocus="" required="">   
        <input id="password" name="usrPassword" type="password" placeholder="密码" required="">
    </fieldset>
    <fieldset id="actions">
        <input type="submit" id="submit" value="登录">
    </fieldset>
    <a href="/slick-login-form-with-html5-css3" id="back">关于我们</a>
</form>
    
  </body>
</html>
